<?php
/**
 * @desc   Created by PhpStorm.
 * @author laowng
 * @since  2018/8/17 15:42
 */

namespace app\admin\model;


use think\Model;

class LoginLogModel extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'login_log';

    /**
     * @param $data
     */
    public static function add($data)
    {
        (new LoginLogModel)->insertGetId($data);
    }

}